using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Collections.Generic;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using MCWEBSITE.BUL;
using MCWEBSITE.ENTITY;

public partial class Modules_HugKid_wucHeader : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        BindProductCat();
    }

    protected void BindProductCat()
    {
        List<websiteProductCategoryInfo> lstProductCat = websiteProductCategoryBUL.GetCategoryByLangAndParent("vi-VN", "0");
        dlProductCat.RepeatColumns = lstProductCat.Count;
        dlProductCat.DataSource = lstProductCat;
        dlProductCat.DataBind();
    }
}
